package engine.newUi
{
	import engine.control.loading.NxLoading;
	import engine.ui.lite.BaseUI;
	
	import flash.display.DisplayObjectContainer;
	import flash.display.MovieClip;
	
	import newx.com.control.NxClip;
	import newx.com.control.button.NxButton;
	import newx.com.control.text.NxLabel;
	import newx.com.control.text.NxText;
	
	public class SpecialKungfuInfoUI extends BaseUI
	{
		
		public var expbar:NxLoading;
		public var namelabel :NxLabel;
		public var infolabel :NxText;
		public var nextLabel :NxText;
		public var explabel  :NxLabel
		
		public var img:NxClip;
		public var nextnamelabel:NxLabel;
		public var useBtn :NxButton;
		public var upgradeBtn :NxButton;
		
		public var channelMc1:MovieClip;
		public var channelMc2:MovieClip;
		
		private static var _self:SpecialKungfuInfoUI;
		
		
		public static function getInstance():SpecialKungfuInfoUI
		{
			if(_self == null)
			{
				_self = new SpecialKungfuInfoUI();
			}
			return _self;
		}
		public function SpecialKungfuInfoUI(popupUI:Boolean=true)
		{
			super(popupUI);
		}
		public function showUI():void
		{
			super.show();
		}
	
		override public function show(space:DisplayObjectContainer=null, onshow:Function=null, ...argc):void
		{
			SpecialKungfuInfoLogic.getInstance().onLoadUrl();
		}
		override public function  Init():void
		{
			SpecialKungfuInfoLogic.getInstance().Init();
		}
		override protected function	BeforeShow():void
		{
			SpecialKungfuInfoLogic.getInstance().BeforeShow();
		}
		override protected function	AfterHide():void
		{
			SpecialKungfuInfoLogic.getInstance().AfterHide();
		}
	}
}